Simulating Escrow Transactions
نویسندگان
چکیده
Long running transactions, such as online purchases, severely reduce throughput under standard locking protocols such as two-phase locking. We investigated the use of escrow transactions to remove the need to wait for locks, and thus reduced the average transaction runtime. Escrow transactions allow transactions to borrow a quantity from the record until the transaction aborts or commits and to update the record appropriately. By escrowing some quantity away from the record, the record itself remains available for other transactions to read and escrow from as well. Patrick O'Neil's paper suggested this approach would theoretically reduce transaction run time, so we built a simulator to test the idea. The simulator models transactions under various workloads interacting with locks, a disk manager, and an escrow journal to compare the performance of escrow transactions against reads and writes using twophase locking. We found that escrow transactions significantly outperformed the two-phase-locking protocol. The locking scheme often spent nearly half its time waiting for locks, while the escrows were only blocked by the availability of the disk. When lock contention was high and transactions were likely to deadlock when using two-phase-locking, escrow transactions average run time was nearly 25 times faster than two-phase locking. Future work will involve extending the simulator to model a distributed database over a wide area network. We will investigate using escrow transactions and data redistribution schemes to reduce network communications and hence cut down the overall transaction run time.
منابع مشابه
Probabilistic Escrow of Financial Transactions with Cumulative Threshold Disclosure
We propose a scheme for privacy-preserving escrow of financial transactions. The objective of the scheme is to preserve privacy and anonymity of the individual user engaging in financial transactions until the cumulative amount of all transactions in a certain category, for example all transactions with a particular counterparty in any single month, reaches a pre-specified threshold. When the t...
متن کاملHope or Hype: On the Viability of Escrow Services as Trusted Third Parties in Online Auction Environments
Internet fraud has been on the rise in online consumer-to-consumer (C2C) auction markets, posing serious challenges to people’s trust in electronic markets. Among various remedies to promote trust and reduce trader’s risk, online escrow service has been proposed as a trusted third party to protect online transactions from Internet fraud. However, whether an escrow service constitutes a viable b...
متن کاملSemantic Transaction Processing in Mobile Computing
Transaction processing is of growing importance for mobile computing. Booking tickets, flight reservation, banking, ePayment, and booking holiday arrangements are just a few examples for mobile transactions. Due to temporarily disconnected situations the synchronisation and consistent transaction processing are key issues. Serializability is a too strong criteria for correctness when the semant...
متن کاملقراداد سه جانبه ESCROW درنرم افزار
در قوانین و آثار علمی عقود را متشکل از دو جزء ایجاب و قبول می دانند که توسط دو طرف انجام می شود و گاه رضای ثالث را شرط صحت یا تحقق آن بر می شمرند . قراردادهای سه جانبه ESCROW در نرم افزارهای رایانه ای ،قراردادهایی هستند متشکل از یک ایجاب و دو قبول، یا یک ایجاب و یک قبول با دو جزء که توسط دو شخص پذیرفته می شوند . در این مقاله علاوه بر تحلیل حقوقی اینگونه قراردادها، مفاد و ماهیت آنها نیز شرح ...
متن کاملHow to Improve Interpolation Attack
In the key recovery variant of the interpolation attack, exhaustive search is required to find the last round key Km. Therefore, this attack is almost impractical if the size of Km is too large. In this paper, we show that Km can be very efficiently obtained if F(K, x) can be approximated by a low degree polynomial gx(K) in K for any fixed x, where F is a round function of Feistel type block ci...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007